﻿<%@ Page Language="C#" MasterPageFile="~/Root.master" AutoEventWireup="true" CodeFile="STDs.aspx.cs"
    Inherits="STDs" Title="Sở Y Tế Hà Nội - Trung Tâm Chăm Sóc Sức Khỏe Sinh Sản Hà Nội - Phòng khám chất
        lượng cao" %>

<asp:Content ID="Content2" ContentPlaceHolderID="CenterContentPlaceHolder" runat="Server">
    <div id="apDiv2003">
        <img src="imagesMobile/banner.png" class="borderbanner" /></div>
    <div id="apDiv2004" style="top: 377px; left: 0px; height: 1949px; width: 944px">
        <div class="menubar bordermenubar" id="apDiv2049">
            <div id="apDiv2039">
                <img src="imagesMobile/iconchuyenmuc.png" /></div>
            <div class="textbannerbar" id="apDiv2040" 
                style="top: 16px; left: 105px; height: 33px">
                <a href="STDs.aspx">BỆNH XÃ HỘI</a></div>
            <div id="apDiv2076" style="top: 3px; left: 508px; height: 51px; width: 412px;">
                <div class="textbannerbar" id="apDiv2077" 
                    style="top: 0px; left: 16px; width: 388px">
                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" 
                        OnSelectedIndexChanged="Selection_Change" Width="370px" >
                        <asp:ListItem value="11" >Chọn chuyên mục</asp:ListItem>
                        <asp:ListItem Value="102">Bệnh sùi mào gà</asp:ListItem>
                        <asp:ListItem Value="103">Bệnh giang mai</asp:ListItem>
                        <asp:ListItem Value="104">Bệnh chlamydia</asp:ListItem>
                        <asp:ListItem Value="105">Bệnh Lậu</asp:ListItem>
                        <asp:ListItem Value="106">Bệnh mụn rộp</asp:ListItem>
                        <asp:ListItem Value="110">Bệnh HIV/AIDS</asp:ListItem>
                        <asp:ListItem Value="120">Giới thiệu về bệnh xã hội</asp:ListItem>
                        <asp:ListItem Value="121">Quan niệm sai lệch về bệnh xã hội</asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div id="apDiv2078" style="top: 11px; left: -38px">
                </div>
            </div>
        </div>
        <!--------------------------------------------------------------------------->

        <script runat="server">
            void Selection_Change(Object sender, EventArgs e)
            {

                Response.Redirect("STDsList.aspx?id=" + DropDownList1.SelectedItem.Value);
                //Response.Redirect("http://62991199.com/AndrologyList.aspx?id=" + DropDownList1.SelectedItem.Value);
            }
        </script>

        <div id="apDiv20079" style="top: 72px; left: -3px; height: 1799px; width: 943px" class="footerfont">
            <asp:Repeater ID="Repeater1" runat="server">
                <HeaderTemplate>
                </HeaderTemplate>
                <ItemTemplate>
                    <!--   -->
                    <table border="0" style="width: 940px;">
                        <tbody>
                            <tr>
                                <td>
                                    <img src='<%# "http://62991199.com/Uploads/News/" + DataBinder.Eval(Container.DataItem, "Thumb_Photo")%>'
                                        width="180px" height="140px" />
                                </td>
                                <td>
                                    <table>
                                        <tr style="font-family: Arial; font-weight: 700">
                                            <td>
                                                <a href='<%# "STDsDetail.aspx?idNewsContents=" +  DataBinder.Eval(Container.DataItem, "ID")%>' ><%# DataBinder.Eval(Container.DataItem, "Title")%></a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <%# DataBinder.Eval(Container.DataItem, "ShortDescription")%>
                                                <a href='<%# "STDsDetail.aspx?idNewsContents=" +  DataBinder.Eval(Container.DataItem, "ID")%>' >[Chi tiết]</a>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <hr />
                            </tr>
                        </tbody>
                    </table>
                </ItemTemplate>
                <FooterTemplate>
                </FooterTemplate>
            </asp:Repeater>
            <div id="apDiv20075" style="top: 1813px; left: 401px; width: 528px">
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                <asp:HyperLink ID="lnkPre" runat="server"> << Trước</asp:HyperLink>
                <asp:HyperLink ID="lnkNext" runat="server">Sau >></asp:HyperLink>
            </div>
        </div>
        <!--------------------------------------------------------------------------->
    </div>
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ AppSettings:ConnectionString62991199 %>"
        SelectCommand="SELECT  TOP 1000 NCA.[ID],
 NCA.[ParentID], 
 NCA.[Name], 
 NCO.[CategoryID], 
 NCO.[Title],
 NCO.[Thumb_Photo],
 NCO.[ShortDescription],
 NCO.[Description] 
FROM tblNewsCategories NCA 
INNER JOIN tblNewsContents NCO 
 ON NCO.[CategoryID] = NCA.[ID] 
WHERE NCA.[ParentID] = 108 
ORDER BY NCO.[CategoryID] DESC"></asp:SqlDataSource>
</asp:Content>
